package com.aaa.sql.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @program: java-sqlyuju
 * @description:
 * @author: 诸葛龙辰
 * @create: 2023-03-12 20:03
 * @version:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dept {
    private int deptNo;
    private String deptName;
    private String loc;
    //本部门的人员列表  体现一对多
    private List<Emp> empList;
}
